package cc.koit.blog.service;

import cc.koit.blog.dao.entity.Article;
import cc.koit.blog.dao.entity.ArticleType;

import java.util.List;

/**
 * @author gujing
 * @date 2022/2/4 3:04 下午
 * @descrption
 */
public interface ArticleService {


    List<ArticleType> listTypes();


    Long create(String title, String typeId, String summary, String content, String tags);

    Article getById(Long id);


    void modify(Article article);


}
